﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace CommonUtil
{
    /// <summary>
    /// TMenuFunc表对应类
    /// </summary>
    public class MenuFuncObj
    {
    	    private int menuID;
        /// <summary>
        /// 记录ID
        /// </summary>
        public int MenuID
        {
	        get { return menuID; }
	        set { menuID = value; }
        }
        private string menuName;
        /// <summary>
        /// 菜单项名称
        /// </summary>
        public string MenuName
        {
	        get { return menuName; }
	        set { menuName = value; }
        }
        private int parentID;
        /// <summary>
        /// 父级ID
        /// </summary>
        public int ParentID
        {
	        get { return parentID; }
	        set { parentID = value; }
        }
        private int hasChildren;
        /// <summary>
        /// 是否有子菜单
        /// </summary>
        public int HasChildren
        {
	        get { return hasChildren; }
	        set { hasChildren = value; }
        }
        private int sort;
        /// <summary>
        /// 菜单序号
        /// </summary>
        public int Sort
        {
	        get { return sort; }
	        set { sort = value; }
        }
        private int level;
        /// <summary>
        /// 菜单级别
        /// </summary>
        public int Level
        {
	        get { return level; }
	        set { level = value; }
        }
        private string controlName;
        /// <summary>
        /// 控件Name
        /// </summary>
        public string ControlName
        {
	        get { return controlName; }
	        set { controlName = value; }
        }
        private string controlText;
        /// <summary>
        /// 控件Text
        /// </summary>
        public string ControlText
        {
	        get { return controlText; }
	        set { controlText = value; }
        }
        private int sizeWidth;
        /// <summary>
        /// 控件宽度
        /// </summary>
        public int SizeWidth
        {
	        get { return sizeWidth; }
	        set { sizeWidth = value; }
        }
        private int sizeHeight;
        /// <summary>
        /// 控件高度
        /// </summary>
        public int SizeHeight
        {
	        get { return sizeHeight; }
	        set { sizeHeight = value; }
        }
        private int padding;
        /// <summary>
        /// 控件间距
        /// </summary>
        public int Padding
        {
	        get { return padding; }
	        set { padding = value; }
        }
        private string backgroupImage;
        /// <summary>
        /// 控件背景图片
        /// </summary>
        public string BackgroupImage
        {
	        get { return backgroupImage; }
	        set { backgroupImage = value; }
        }
        private int isLoadUC;
        /// <summary>
        /// 是否允许加载用户控件
        /// </summary>
        public int IsLoadUC
        {
	        get { return isLoadUC; }
	        set { isLoadUC = value; }
        }
        private string funcDll;
        /// <summary>
        /// 功能DLL文件名
        /// </summary>
        public string FuncDll
        {
	        get { return funcDll; }
	        set { funcDll = value; }
        }
        private string nameSpace;
        /// <summary>
        /// 命名空间
        /// </summary>
        public string NameSpace
        {
	        get { return nameSpace; }
	        set { nameSpace = value; }
        }
        private string className;
        /// <summary>
        /// 对应类名
        /// </summary>
        public string ClassName
        {
	        get { return className; }
	        set { className = value; }
        }
        private string loadMethod;
        /// <summary>
        /// 加载方法
        /// </summary>
        public string LoadMethod
        {
	        get { return loadMethod; }
	        set { loadMethod = value; }
        }
        private string closeMethod;
        /// <summary>
        /// 关闭方法
        /// </summary>
        public string CloseMethod
        {
	        get { return closeMethod; }
	        set { closeMethod = value; }
        }
        private string spName;
        /// <summary>
        /// 存储过程名称
        /// </summary>
        public string SpName
        {
	        get { return spName; }
	        set { spName = value; }
        }
        private string designType;
        /// <summary>
        /// 设计器生成控件类型
        /// </summary>
        public string DesignType
        {
            get { return designType; }
            set { designType = value; }
        }
        private string designId;
        /// <summary>
        /// 设计器生成控件ID
        /// </summary>
        public string DesignId
        {
            get { return designId; }
            set { designId = value; }
        }
        private DateTime createDt;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateDt
        {
	        get { return createDt; }
	        set { createDt = value; }
        }
        private DateTime modifyDt;
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ModifyDt
        {
	        get { return modifyDt; }
	        set { modifyDt = value; }
        }
        private int inUse;
        /// <summary>
        /// 是否启用
        /// </summary>
        public int InUse
        {
	        get { return inUse; }
	        set { inUse = value; }
        }
        private string describe;
        /// <summary>
        /// 记录描述
        /// </summary>
        public string Describe
        {
	        get { return describe; }
	        set { describe = value; }
        }

        private UserControl ucObj;
        /// <summary>
        /// 自定义用户控件
        /// </summary>
        public UserControl UcObj
        {
            get { return ucObj; }
            set { ucObj = value; }
        }

        private ReflectionUtil refUtil;
        /// <summary>
        /// 自定义控件反射对象
        /// </summary>
        public ReflectionUtil RefUtil
        {
            get { return refUtil; }
            set { refUtil = value; }
        }        
    }
}
